
public class Move {
	public static int ok = 1;
	
	public static void play(int mouseX, int mouseY) {
		int x = mouseX / UserInterface.IMAGE_SIZE;
		int y = mouseY / UserInterface.IMAGE_SIZE;
		
		if(MovePossibilities.isCorrect(x, y)){
			Main main = new Main();
			Board.goban[x][y] = MovePossibilities.isOnMove();
			
			if(MovePossibilities.isWiningFiveOrMore(x, y)){
				System.out.println("player: " + MovePossibilities.isOnMove() + " u'r the best");
				//MovePossibilities.move = 0;
				//Board.newGame();
			}
			MovePossibilities.move++;
		}else{
			System.out.println(ok);
			ok++;
		}

	}
}
